import request from '@/utils/request'

/**
 * @description 获取列表
 * @return { Promise }
 */
export function getLineList(data: Record<string, any>) {
    return request.get({ url: '/line/lists', data: data })
}

/**
 * @description 获取详情
 * @param { number } id
 * @return { Promise }
 */
export function getLineDetail(data: { id: number }) {
    return request.get({ url: '/line/detail', data: data })
}

/**
 * @description 获取列表
 * @return { Promise }
 */
export function getLinePriceList(data: Record<string, any>) {
    return request.get({ url: '/line_price/lists', data: data })
}

